<!--
 * @Author: zwz
 * @Date: 2023-05-26 14:19:19
 * @LastEditors: zwz
 * @LastEditTime: 2023-06-06 11:23:31
 * @Description: 请填写简介
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="./public/css/default.css">
    <title>Document</title>
</head>
<body>
    <div>
        <button onclick="add()">增加cookie</button>
        <button onclick="del()">删除cookie</button>
        <button onclick="editor()">修改cookie</button>
        <button onclick="show()">查看cookie</button>
    </div>
    <h1>今日时间 <$=nowTime$></h1>
   <h1>欢迎来到 常州浩达彩钢瓦建材有限公司</h1>
   <h2>今日营业员 <$=username$></h2>
   <h3>专业技能 <$=skill$></h3>
   <h2>电话: 18112500949</h2>
   <img width="200px" height="200px" src="https://store.is.autonavi.com/showpic/4dc177ee5c618e6a8336a2c6f7c3f387?type=pic" alt="">
   <img width="200px" height="200px" src="http://s-pic.oss-cn-beijing.aliyuncs.com/desensitize/images/publish/8ea90ead4b55ba19a5289ebbd047c81c.jpg?type=pic" alt="">
   <script>
      function add() {
        fetch('/add', {
          method: 'post',
          headers: {
            "Content-type": "application/json"
          }
        })
      }

      function del() {
        fetch('/del', {
          method: 'post',
          headers: {
            "Content-type": "application/json"
          }
        })
      }

      function editor() {
        fetch('/editor', {
          method: 'post',
          headers: {
            "Content-type": "application/json"
          }
        })
      }

      function show() {
        fetch('/show', {
          method: 'post',
          headers: {
            "Content-type": "application/json"
          }
        })
      }
   </script>
</body>
</html>
